package net.gd.persistence;

import java.util.List;
import net.gd.domain.modelManage;
import net.gd.domain.modelManageExample;
import org.apache.ibatis.annotations.Param;

public interface modelManageMapper {
    int countByExample(modelManageExample example);

    int deleteByExample(modelManageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(modelManage record);

    int insertSelective(modelManage record);

    List<modelManage> selectByExample(modelManageExample example);

    modelManage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") modelManage record, @Param("example") modelManageExample example);

    int updateByExample(@Param("record") modelManage record, @Param("example") modelManageExample example);

    int updateByPrimaryKeySelective(modelManage record);

    int updateByPrimaryKey(modelManage record);
    
    modelManage  selectOneByModelName(String mode_name);
    
    int selectMaxId(modelManageExample example);
    
}